<template>
  <div class="hello">
    <el-table
    :data="tableData"
    border
    style="width: 100%">
    <el-table-column
      prop="TABLE_SCHEMA"
      label="库名">
    </el-table-column>
   
    
  </el-table>
  </div>
</template>

<script>
import { getDbList } from "@/service/db.js";

export default {
  name: "DbList",
  data() {
    return {
      tableData: []
    };
  },
  created() {
    var that=this;
    getDbList().then(res => {
      that.tableData=res.data;
      console.log(res, "=========dbList========");
    });
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
